<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
      <div id="app">
        <!-- 其实这种复杂点判断不如写个computed  -->
        <h2 v-if="score>90">优秀</h2>
        <h2 v-else-if="score>=60">一般</h2>
        <h2 v-else>差劲</h2>
      </div>
      <script src="../js/vue.js"></script>
      <script>
          var app=new Vue({
             el:'#app',
             data:{
               score:0
             },
             methods:{

             }
          });
      </script>
</body>
</html>